﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class Player
{
    public int id = 0;
    public string username = "";
    public string password = "";
}

public class PlayerMgr
{
    private static PlayerMgr instance = null;

    public static PlayerMgr Instance
    {
        get
        {
            if (instance == null)
            {
                instance = new PlayerMgr();
            }
            return instance;
        }
    }

    public Player playerSelf = null;

}
